package com.itetchologyandenglish.home.service;

import com.itetchologyandenglish.home.enetity.AuthUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserAthService {
    AuthUser loadUserByUsername(String username, String password);
    boolean addUserByAll(AuthUser user);
    int deleteByUser(Integer id);
    int deleteByAdmin(Integer id);
    int update(AuthUser user);
    List<AuthUser> getAllUser();
    boolean updatedelete(Integer id);
    boolean deactivate(Integer id);
    AuthUser getUserById(Integer id);
    boolean removeAdmin(Integer id);
}
